package com.hkbigdata.sybx.service;

import com.hkbigdata.sybx.bean.DietRecord;
import com.hkbigdata.sybx.bean.ExerciseLog;
import com.hkbigdata.sybx.bean.RestSchedule;

import java.util.List;

/**
 * @author liuanbo
 * @creat 2025-06-05-18:43
 * @see 2194550857@qq.com
 */
public interface StateService {
    // 饮食记录CRUD
    List<DietRecord> getDietRecord();
    DietRecord getDietRecordById(Long dietId);
    int insertDietRecord(DietRecord dietRecord);
    int updateDietRecord(DietRecord dietRecord);
    int deleteDietRecord(Long dietId);

    // 作息记录CRUD
    List<RestSchedule> getRestSchedule();
    RestSchedule getRestScheduleById(Long scheduleId);
    int insertRestSchedule(RestSchedule restSchedule);
    int updateRestSchedule(RestSchedule restSchedule);
    int deleteRestSchedule(Long scheduleId);

    // 运动记录CRUD
    List<ExerciseLog> getExerciseLog();
    ExerciseLog getExerciseLogById(Long exerciseId);
    int insertExerciseLog(ExerciseLog exerciseLog);
    int updateExerciseLog(ExerciseLog exerciseLog);
    int deleteExerciseLog(Long exerciseId);
}